<template>
  <div>
    <component :is="tag" v-if="wrapIf">
      <slot name="content"></slot>
    </component>
    <slot v-else name="content"></slot>
  </div>
</template>
<script>
export default {
  props: ['wrapIf', 'tag']

}
</script>